home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / shells / zsh-3.0-p / zsh-3 / zsh-3.0-pre3 / Etc / BUGS next >
Text File  |  1996-06-28  |  2KB  |  42 lines

  1. -*- text -*-
  2. ------------------------------------------------------------------------
  3. Completion has a habit of doing the wrong thing after a
  4. backslash/newline.
  5. ------------------------------------------------------------------------
  6. If you suspend "man", zle seems to get into cooked mode.  It works ok
  7. for plain "less".
  8. It is not specific neither to man nor to zsh.
  9. E.g. call the fallowing program foo:
  10. #include <sys/wait.h>
  11. #include <unistd.h>
  12.  
  13. void main(int argc, char *argv[])
  14. {
  15.     int status;
  16.  
  17.     if (!fork())    /* child */
  18.     execvp(argv[1], argv + 1);
  19.     else        /* parent */
  20.     wait(&status);
  21. }
  22. Then if you suspend
  23. % foo less something
  24. from zsh/bash, zle/readline gets into cooked mode.
  25. ------------------------------------------------------------------------
  26. % zsh -c 'cat a_long_file | less ; :'
  27. can be interrupted with ^C. The prompt comes back and less is orphaed.
  28. If you go to the end of the file with less and cat terminates, ^C
  29. will not terminate less. The `; :' after less forces zsh to fork before
  30. executing less.
  31. ------------------------------------------------------------------------
  32. The pattern %?* maches names beginning with %? instead of names with at
  33. least two characters beginning with %. This is a hack to allow %?foo job
  34. substitution without quoting. This behaviour is incompatible with sh
  35. and ksh and may be removed in the future. A good fix would be to keep
  36. such patterns unchanged if they do not match regardless of the state of
  37. the nonomatch and nullglob options.
  38. ------------------------------------------------------------------------
  39. Username completion may cause SEGV on SunOS 4.1.3 and NIS.
  40. This is not a zsh bug.  See Etc/MACHINES for details.
  41. ------------------------------------------------------------------------
  42.